package Bulider;

public class BuliderPatternDemo {
    public static void main(String[] args) {
        MealBulider mealBulider = new MealBulider();

        Meal vegMeal = mealBulider.prepareVegMeal();
        System.out.println("Veg meal");
        vegMeal.showItems();
        System.out.println("Total cost"+vegMeal.getCost());


        MealBulider mealBulider1 = new MealBulider();

        Meal NonVegMeal = mealBulider.prepareNonVegMeal();
        System.out.println("Chick meal");
        NonVegMeal.showItems();
        System.out.println("Total cost"+NonVegMeal.getCost());
    }
}
